<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Debug React Source Code</title>
    <script>
        var data = {}
        function getData() {return data}
        function run(React, ReactDOM) {
            data.React = React
            data.ReactDOM = ReactDOM
            const iframeMain = document.createElement('iframe')
            iframeMain.src="dependency-main.html"
            iframeMain.style.cssText="width:100%; height:100%; border: none;"
            document.body.appendChild(iframeMain)
        }
    </script>
</head>
<style>html,body{width:100%;height:100%;padding:0;margin:0;}</style>
<body>
    <iframe id="react" src="./dependency-react.html" frameborder="0" style="display: none;"></iframe>
</body>

</html>